home *** CD-ROM | disk | FTP | other *** search
- unit Unit5_3;
-
- interface
-
- uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
- StdCtrls, ExtCtrls;
-
- type
- TTorokuDlg = class(TForm)
- OKBtn: TBitBtn;
- CancelBtn: TBitBtn;
- Bevel1: TBevel;
- Label1: TLabel;
- Namae: TEdit;
- procedure FormActivate(Sender: TObject);
- private
- { Private 宣言 }
- public
- { Public 宣言 }
- end;
-
- var
- TorokuDlg: TTorokuDlg;
-
- implementation
-
- {$R *.DFM}
-
- procedure TTorokuDlg.FormActivate(Sender: TObject);
- begin
- {表示を行う前に、Namaeをクリアし、カーソルの位置をNamaeに設定}
- Namae.Text := '';
- ActiveControl := Namae;
- end;
-
- end.
-